import ajax from '@/api/apiConfig.js'

/*统计*/
export const getOrgSafeStatistics = (data) => {
  return ajax.get('safetManagerSystem/getOrgSafeStatistics', data)
}

/*单位安全管理制度列表*/
export const getOrgSafeList = (data) => {
  return ajax.get('safetManagerSystem/getOrgSafeList', data)
}

/*安全管理制度列表*/
export const getSafetManagementSystem = (data) => {
  return ajax.get('safetManagerSystem/getSafetManagementSystem', data)
}

/*保存*/
export const updateSafetManagementSystem = (data) => {
  return ajax.post('safetManagerSystem/updateSafetManagementSystem', data)
}

/*删除*/
export const deleteSafetManagementSystemById = (data) => {
  return ajax.post('safetManagerSystem/deleteSafetManagementSystemById', data)
}
